package com.zff.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * TODO
 * @version 1.0
 * @author Zff
 * @date 2021/11/3 8:51
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="XszpOrder对象", description="")
public class CgzpWorks {
    private static final long serialVersionUID=1L;

    @TableId(value = "wid", type = IdType.AUTO)
    private Integer wid;

    private Integer userid;

    private String worksname;

    private String workspath;

    private String cgsqtable;

    private String jieshu;

    private String prize;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
